package com.drp.service;

import com.drp.bean.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.drp.bean.Kind;
import com.drp.bean.Supplier;
import com.drp.bean.User;
import com.drp.vo.GoodsVo;
import com.drp.vo.ResultGoodVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ren
 * @since 2022-03-16
 */
public interface IGoodsService extends IService<Goods> {
    boolean add(Goods goods, User user, Kind kind, Supplier supplier);
    List<Goods> getAll();
    boolean deleteById(int id);
    int addGood(Goods goods);
}
